package actions

import (
	"QWenVL/actions/clients"
	"net/http"

	"github.com/danielgtaylor/huma/v2"
)

func Register(api huma.API) {
	huma.Register(api, huma.Operation{
		OperationID: "my-qwenvl-api",
		Summary:     "千问VL",
		Method:      http.MethodPost,
		Path:        "/api/v1/qwenvl/",
		Tags:        []string{"千问vl"},
	},
		humaAdaptor(clients.QwenVLhandler))

	huma.Register(api, huma.Operation{
		OperationID: "my-qwenvl-api",
		Summary:     "千问VL",
		Method:      http.MethodPost,
		Path:        "/api/v1/qwenvl/upload",
		Tags:        []string{"千问vl"},
	},
		humaAdaptor(clients.UploadImgHandler))
}
